package com.geovis.emergency.spd.entity.basic.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * <p>
 * 基础管理模块-集成接口查询DTO
 * </p>
 *
 * @author 王响
 * @since 2022-03-12
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "BasicThirdPartyInterfaceQueryDTO对象", description = "基础管理模块-集成接口查询DTO")
public class BasicThirdPartyInterfaceQueryDTO implements Serializable {

    @ApiModelProperty("名称")
    @Length(max = 255, message = "名称最长不能超过{255}个字符")
    private String name;

    @ApiModelProperty("地址")
    @Length(max = 255, message = "地址称最长不能超过{255}个字符")
    private String url;

    @ApiModelProperty("数据状态")
    @Length(max = 1, message = "数据状态最长不能超过{1}个字符")
    private String dataStatus;
}
